package com.itheima.admin.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author WXL
 * 给用户授权的数据类型
 */
@Data
public class GrantRoleDto {

    @ApiModelProperty(value = "用户ID",required = true)
    private String userId;
    @ApiModelProperty(value = "角色数组",required = true)
    private List<String> roleIds;

}
